package work;

public class NetTeacher extends Teacher{
    NetTeacher(String name,String sex,int age,String extent,int teachYear) {
        super(name, sex, age, extent, teachYear);
    }

    void openVisual() {
        System.out.println("打开Visual studio 2017");
    }
    public static void main(String[] args) {
        JavaTeacher2 daniu=new JavaTeacher2("大牛","男",28,"北大青鸟科海",15);
        NetTeacher lixiaoli=new NetTeacher("李晓莉","女",25,"北大青鸟科海",10);
        daniu.openEclipse();
        daniu.theoryTeaching();
        daniu.show();
        System.out.println("*******************************************");
        lixiaoli.openVisual();
        lixiaoli.theoryTeaching();
        lixiaoli.show();
    }
}
